package com.triple.interviewexpert.sentinel;

/**
 * Sentinel 限流熔断常量
 */
public interface SentinelConstant {

    /**
     * 分页获取题库列表接口限流
     */
    String listQuestionBankVOByPage = "listQuestionBankVOByPage";

    /**
     * 分页获取题目列表接口限流
     */
    String listQuestionVOByPage = "listQuestionVOByPage";

    /**
     * 查询题目
     */
    String searchQuestionVOByPage = "searchQuestionVOByPage";

    /**
     * 用户注册
     */
    String userRegister = "userRegister";

    /**
     * 用户登录
     */
    String userLogin = "userLogin";

    /**
     * Nacos 地址
     */
    String NacosRemoteAddress = "192.168.52.128:8848";
    // String NacosRemoteAddress = "175.178.148.114:8848";

    /**
     * Nacos 规则分组id
     */
    String NacosGroupId = "InterviewExpert";

    /**
     * Nacos 限流规则数据id
     */
    String NacosFlowDataId = "InterviewExpertFlowRule";

    /**
     * Nacos 热点规则数据id
     */
    String NacosParamFlowDataId = "InterviewExpertParamFlowRule";

    /**
     * Nacos 熔断规则数据id
     */
    String NacosDegradeDataId = "InterviewExpertDegradeRule";
}
